#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
	int hao = 0;
	float c = 0.0f;
	
	float m = 0.0f;
	float e = 0.0f;

	scanf("%d;%f,%f,%f",&hao, &c, &m, &e);
	printf("The each subject score of No. %d is %.2f,%.2f,%.2f.", hao, c, m, e);

	return 0;
}